package com.shop.loan.mapper;

import com.github.pagehelper.Page;
import com.shop.loan.model.entity.ChannelByMybatis;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ChannelByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ChannelByMybatis row);

    int insertSelective(ChannelByMybatis row);

    ChannelByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ChannelByMybatis row);

    int updateByPrimaryKey(ChannelByMybatis row);

    Page<ChannelByMybatis> selectByList(ChannelByMybatis row);

    List<String> selectListNameByProduct(@Param("productId")Long productId);
}